import request from '@/tools/request'

export function helloworld(params) {
  return request({
    url: '/helloworld',
    method: 'get',
    params
  })
}

export function testCreate(data) {
  return request({
    url: '/test/create',
    method: 'post',
    data
  })
}

export function testFindAll(data) {
  return request({
    url: '/test/findAll',
    method: 'post',
    data
  })
}

export function testFindOne(data) {
  return request({
    url: '/test/findOne',
    method: 'post',
    data
  })
}

export function testUpdate(data) {
  return request({
    url: '/test/update',
    method: 'post',
    data
  })
}

export function testRemove(data) {
  return request({
    url: '/test/remove',
    method: 'post',
    data
  })
}

export function testRemoveBatch(data) {
  return request({
    url: '/test/removeBatch',
    method: 'post',
    data
  })
}

export function testCreateBatch(data) {
  return request({
    url: '/test/createBatch',
    method: 'post',
    data
  })
}
